package com.zhuanzhuan.entity;

import java.io.Serializable;
import java.util.Date;

public class Goods implements Serializable {
    private static final long serialVersionUID = -8650632623720565993L;
    private int id;
    private String name;
    private float price;
    private String description;
    private Date addTime;
    private boolean isOnSell;
    private int typeID;
    private int ownerID;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public boolean isOnSell() {
        return isOnSell;
    }

    public void setOnSell(boolean onSell) {
        isOnSell = onSell;
    }

    public int getTypeID() {
        return typeID;
    }

    public void setTypeID(int typeID) {
        this.typeID = typeID;
    }

    public int getOwnerID() {
        return ownerID;
    }

    public void setOwnerID(int ownerID) {
        this.ownerID = ownerID;
    }
}
